package com.itheima.mapper;

import com.itheima.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberMapper {

    void add(Member member);

    @Select("select * from t_member where phoneNumber = #{phoneNmber}")
    Member findByTelephone(String phoneNumber);
}
